﻿#pragma once

#include <QWidget>
#include "json_data.h"
#include "positionsettingwid.h"

QT_BEGIN_NAMESPACE
namespace Ui { class StackPlateSettingWid; };
QT_END_NAMESPACE

class StackPlateSettingWid : public QWidget
{
	Q_OBJECT

public:
	StackPlateSettingWid(QWidget *parent = nullptr);
	~StackPlateSettingWid();
	void Init(const StackPlateCfg& cfg);
	StackPlateCfg GetCfg();

private:
	Ui::StackPlateSettingWid *ui;
	PositionSettingWid* m_base = nullptr;
};
